package com.xinlu.util.tool;

public class CheckUtils {
	
	public static boolean checkEmail(String message){
		
		return message.matches("^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$");
		
	}
	
	public static void main(String[] args) {
		
//		System.out.println(CheckUtils.checkEmail("373723551@qq.com"));
	}
	
}
